home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / clockchk.zip / CLOCKCHK.DOC < prev    next >
Text File  |  1989-03-14  |  5KB  |  121 lines

  1.  
  2.  
  3.  
  4.         
  5.                             CLOCK CHECK  Version 1.0
  6.                                  March 14, 1989
  7.         
  8.                 (C) Copyright 1989 Todd Bolitho & Martin Pollard
  9.         
  10.         
  11.         
  12.                              CLOCK CHECK Disclaimer:
  13.         
  14.         CLOCK  CHECK  is provided "as is".  We make no claim that  it  is 
  15.         suitable for any particular purpose.   It may, in fact, not  work 
  16.         at  all.   We use it on our BBS all the time, but we  don't  know 
  17.         what  it will do on your system, and we promise NOTHING, so  tell 
  18.         your lawyer not to bother!
  19.         
  20.         
  21.         
  22.                            CLOCK CHECK Raison D'Etre:
  23.         
  24.         We  run  a very slick little "part time" BBS called  WARP  SPEED.  
  25.         Since the computer is used for business during the day, and  this 
  26.         requires  a nice menu system to run all the various  applications  
  27.         used,  the  menu call is in the AUTOEXEC.BAT file.   The  problem 
  28.         was:   When  and if WARP SPEED should go down (i.e.  -  the  user 
  29.         hangs up the phone in the middle of a DSZ transfer), WATCHDOG [or 
  30.         other similar program] would then take control of the system  and 
  31.         reboot  it  for  us.  This all works fine  and  dandy,  but  upon 
  32.         rebooting,  WARP  SPEED would not come back  online  because  the 
  33.         system  would boot to the main menu.  Putting CLOCK CHECK in  the 
  34.         AUTOEXEC.BAT file right before the menu call allows the  computer 
  35.         to  look at the system time, and then make a decision whether  or 
  36.         not  to  run  the  BBS or call the main  menu.   In  either  case     
  37.         CLOCK   CHECK  does  not  remain  in  memory.   It  simply   uses 
  38.         COMMAND.COM  to call the BBS program or quits with no  action  at 
  39.         all,  and  returns control to the batch file which  executes  the 
  40.         main menu.
  41.         
  42.         The following AUTOEXEC.BAT provides an example:
  43.         
  44.         @echo off
  45.         path c:\;c:\dos;d:\ut;d:\tc;e:\com\zip
  46.         prompt $p$g
  47.         print /d: Lpt1
  48.         SET TELIX=E:\COM\TELIX
  49.         SET DSZPORT=2
  50.         SET 2ZIP=E:\COM\ZIP
  51.         D:\UT\SPEEDUP\QUICKCRT/F
  52.         D:\UT\SPEEDUP\CED150
  53.         D:\UT\CARDFILE D:\FRIENDS
  54.         C:\CLOCKCHK
  55.         D:
  56.         CD\AAA
  57.         MENU
  58.         
  59.         
  60.         
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         
  68.         
  69.         
  70.         
  71.                              Paying for CLOCK CHECK:
  72.         
  73.                     This one is on us.  There is no charge...
  74.              You also have our permission to share this with others.
  75.         
  76.         
  77.         
  78.                                   DOS Version:
  79.         
  80.                       CLOCK CHECK runs with our MSDOS 3.3.  
  81.         
  82.         
  83.         
  84.                                Using CLOCK CHECK:
  85.         
  86.         CLOCK CHECK requires a simple configuration file to operate.  The 
  87.         first  line of the file contains the filename that  operates  the 
  88.         BBS.   Line two contains the time that the board opens, and  line 
  89.         three contains board's closing time.  The times specified must be 
  90.         in military time format.  In other words, 10pm becomes 22:00.  Do 
  91.         not include seconds in the time strings.
  92.         
  93.         
  94.                      Sample CLOCK CHECK configuration file:
  95.         
  96.         WARP                       - (The BBS batch file)             
  97.         22:00                      - (Time board opens)
  98.         06:00                      - (Time board closes)
  99.         
  100.         
  101.         
  102.         If you wish, you may use a simple ASCII text editor to alter  the 
  103.         supplied config file to call your board at the appropriate times.
  104.         
  105.         Remember:   CLOCK CHECK only operates when called on the  command 
  106.         line  (for test purposes) or in a batch file.  It will NOT  auto-
  107.         matically  turn  on a BBS at the right time.  It is  only  useful 
  108.         during  the  rebooting of a system during the  board's  operating 
  109.         hours.  If you don't understand this, you should probably  recon-
  110.         sider being a sysop...
  111.         
  112.         
  113.         
  114.               Questions and comments may be left to the sysops of:
  115.         
  116.         
  117.                                    WARP SPEED
  118.                                  (313) 544-0405  
  119.                                     10pm-6am.
  120.         
  121.